PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Wire Morph / Cope-WIP - Strange Attractor 2 hack3.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.925 |
| 9 | fVideoEchoZoom=1.007 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=1.248 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=5.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=0.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=t1=0.5; |
| 89 | wave_0_init2=t2=0.5; |
| 90 | wave_0_init3=t3=0.5; |
| 91 | wave_0_per_point1=//x = a*sin(b*y) - z*cos(c*x); |
| 92 | wave_0_per_point2=//x = 1.4*sin(q2*t2) - t3*cos(0.5*t1); |
| 93 | wave_0_per_point3=//y = z*sin(d*x) - cos(e*y); |
| 94 | wave_0_per_point4=//y = t3*sin(-q1*t1) - cos(-0.5*t2); |
| 95 | wave_0_per_point5=//z = f*sin(x); |
| 96 | wave_0_per_point6=//z = 1*sin(t1); |
| 97 | wave_0_per_point7= |
| 98 | wave_0_per_point8= |
| 99 | wave_0_per_point9=x = sin(0.8*t2) - t3*cos(q5*t1); |
| 100 | wave_0_per_point10=y = t3*sin(q2*t1)-cos(-1.4*t2+0.1); |
| 101 | wave_0_per_point11=z = 1.1*sin(t1); |
| 102 | wave_0_per_point12= |
| 103 | wave_0_per_point13= |
| 104 | wave_0_per_point14=//transmit the x,y,z positions to the next point |
| 105 | wave_0_per_point15=t1=x; |
| 106 | wave_0_per_point16=t2=y; |
| 107 | wave_0_per_point17=t3=z; |
| 108 | wave_0_per_point18= |
| 109 | wave_0_per_point19=//adjust the scale and position of the entire attractor *after* we passed xyz to the next point |
| 110 | wave_0_per_point20= |
| 111 | wave_0_per_point21=x = (x*0.5+0.7); |
| 112 | wave_0_per_point22=y = (y*0.5+0.7); |
| 113 | wave_0_per_point23= |
| 114 | wave_0_per_point24= |
| 115 | wave_0_per_point25=r = 1/b+1/y; |
| 116 | wave_0_per_point26=b = 1/g-1/x; |
| 117 | wave_0_per_point27=g = 1/r+1/z; |
| 118 | wavecode_1_enabled=1 |
| 119 | wavecode_1_samples=512 |
| 120 | wavecode_1_sep=0 |
| 121 | wavecode_1_bSpectrum=0 |
| 122 | wavecode_1_bUseDots=0 |
| 123 | wavecode_1_bDrawThick=1 |
| 124 | wavecode_1_bAdditive=1 |
| 125 | wavecode_1_scaling=1.00000 |
| 126 | wavecode_1_smoothing=0.50000 |
| 127 | wavecode_1_r=1.000 |
| 128 | wavecode_1_g=1.000 |
| 129 | wavecode_1_b=1.000 |
| 130 | wavecode_1_a=0.050 |
| 131 | wave_1_init1=t1=0.5; |
| 132 | wave_1_init2=t2=0.5; |
| 133 | wave_1_init3=t3=0.5; |
| 134 | wave_1_per_point1= |
| 135 | wave_1_per_point2= |
| 136 | wave_1_per_point3=x = sin(0.8*t2) - t3*cos(q5*t1); |
| 137 | wave_1_per_point4=y = t3*sin(q2*t1)-cos(-1.4*t2+0.1); |
| 138 | wave_1_per_point5=z = 1.1*sin(t1); |
| 139 | wave_1_per_point6= |
| 140 | wave_1_per_point7=//transmit the x,y,z positions to the next point |
| 141 | wave_1_per_point8=t1=x; |
| 142 | wave_1_per_point9=t2=y; |
| 143 | wave_1_per_point10=t3=z; |
| 144 | wave_1_per_point11= |
| 145 | wave_1_per_point12=//adjust the scale and position of the entire attractor *after* we passed xyz to the next point |
| 146 | wave_1_per_point13=x = x*0.5+0.7; |
| 147 | wave_1_per_point14=y = y*0.5+0.7; |
| 148 | wave_1_per_point15= |
| 149 | wave_1_per_point16= |
| 150 | wave_1_per_point17=r = 1/b+1/y; |
| 151 | wave_1_per_point18=b = 1/g-1/x; |
| 152 | wave_1_per_point19=g = 1/r+1/z; |
| 153 | wavecode_2_enabled=0 |
| 154 | wavecode_2_samples=512 |
| 155 | wavecode_2_sep=0 |
| 156 | wavecode_2_bSpectrum=0 |
| 157 | wavecode_2_bUseDots=0 |
| 158 | wavecode_2_bDrawThick=0 |
| 159 | wavecode_2_bAdditive=0 |
| 160 | wavecode_2_scaling=1.00000 |
| 161 | wavecode_2_smoothing=0.50000 |
| 162 | wavecode_2_r=1.000 |
| 163 | wavecode_2_g=1.000 |
| 164 | wavecode_2_b=1.000 |
| 165 | wavecode_2_a=1.000 |
| 166 | wavecode_3_enabled=0 |
| 167 | wavecode_3_samples=512 |
| 168 | wavecode_3_sep=0 |
| 169 | wavecode_3_bSpectrum=0 |
| 170 | wavecode_3_bUseDots=0 |
| 171 | wavecode_3_bDrawThick=0 |
| 172 | wavecode_3_bAdditive=0 |
| 173 | wavecode_3_scaling=1.00000 |
| 174 | wavecode_3_smoothing=0.50000 |
| 175 | wavecode_3_r=1.000 |
| 176 | wavecode_3_g=1.000 |
| 177 | wavecode_3_b=1.000 |
| 178 | wavecode_3_a=1.000 |
| 179 | shapecode_0_enabled=0 |
| 180 | shapecode_0_sides=4 |
| 181 | shapecode_0_additive=0 |
| 182 | shapecode_0_thickOutline=0 |
| 183 | shapecode_0_textured=0 |
| 184 | shapecode_0_num_inst=1 |
| 185 | shapecode_0_x=0.500 |
| 186 | shapecode_0_y=0.500 |
| 187 | shapecode_0_rad=0.10000 |
| 188 | shapecode_0_ang=0.00000 |
| 189 | shapecode_0_tex_ang=0.00000 |
| 190 | shapecode_0_tex_zoom=1.00000 |
| 191 | shapecode_0_r=1.000 |
| 192 | shapecode_0_g=0.000 |
| 193 | shapecode_0_b=0.000 |
| 194 | shapecode_0_a=1.000 |
| 195 | shapecode_0_r2=0.000 |
| 196 | shapecode_0_g2=1.000 |
| 197 | shapecode_0_b2=0.000 |
| 198 | shapecode_0_a2=0.000 |
| 199 | shapecode_0_border_r=1.000 |
| 200 | shapecode_0_border_g=1.000 |
| 201 | shapecode_0_border_b=1.000 |
| 202 | shapecode_0_border_a=0.100 |
| 203 | shapecode_1_enabled=0 |
| 204 | shapecode_1_sides=4 |
| 205 | shapecode_1_additive=0 |
| 206 | shapecode_1_thickOutline=0 |
| 207 | shapecode_1_textured=0 |
| 208 | shapecode_1_num_inst=1 |
| 209 | shapecode_1_x=0.500 |
| 210 | shapecode_1_y=0.500 |
| 211 | shapecode_1_rad=0.10000 |
| 212 | shapecode_1_ang=0.00000 |
| 213 | shapecode_1_tex_ang=0.00000 |
| 214 | shapecode_1_tex_zoom=1.00000 |
| 215 | shapecode_1_r=1.000 |
| 216 | shapecode_1_g=0.000 |
| 217 | shapecode_1_b=0.000 |
| 218 | shapecode_1_a=1.000 |
| 219 | shapecode_1_r2=0.000 |
| 220 | shapecode_1_g2=1.000 |
| 221 | shapecode_1_b2=0.000 |
| 222 | shapecode_1_a2=0.000 |
| 223 | shapecode_1_border_r=1.000 |
| 224 | shapecode_1_border_g=1.000 |
| 225 | shapecode_1_border_b=1.000 |
| 226 | shapecode_1_border_a=0.100 |
| 227 | shapecode_2_enabled=0 |
| 228 | shapecode_2_sides=4 |
| 229 | shapecode_2_additive=0 |
| 230 | shapecode_2_thickOutline=0 |
| 231 | shapecode_2_textured=0 |
| 232 | shapecode_2_num_inst=1 |
| 233 | shapecode_2_x=0.500 |
| 234 | shapecode_2_y=0.500 |
| 235 | shapecode_2_rad=0.10000 |
| 236 | shapecode_2_ang=0.00000 |
| 237 | shapecode_2_tex_ang=0.00000 |
| 238 | shapecode_2_tex_zoom=1.00000 |
| 239 | shapecode_2_r=1.000 |
| 240 | shapecode_2_g=0.000 |
| 241 | shapecode_2_b=0.000 |
| 242 | shapecode_2_a=1.000 |
| 243 | shapecode_2_r2=0.000 |
| 244 | shapecode_2_g2=1.000 |
| 245 | shapecode_2_b2=0.000 |
| 246 | shapecode_2_a2=0.000 |
| 247 | shapecode_2_border_r=1.000 |
| 248 | shapecode_2_border_g=1.000 |
| 249 | shapecode_2_border_b=1.000 |
| 250 | shapecode_2_border_a=0.100 |
| 251 | shapecode_3_enabled=0 |
| 252 | shapecode_3_sides=4 |
| 253 | shapecode_3_additive=0 |
| 254 | shapecode_3_thickOutline=0 |
| 255 | shapecode_3_textured=0 |
| 256 | shapecode_3_num_inst=1 |
| 257 | shapecode_3_x=0.500 |
| 258 | shapecode_3_y=0.500 |
| 259 | shapecode_3_rad=0.10000 |
| 260 | shapecode_3_ang=0.00000 |
| 261 | shapecode_3_tex_ang=0.00000 |
| 262 | shapecode_3_tex_zoom=1.00000 |
| 263 | shapecode_3_r=1.000 |
| 264 | shapecode_3_g=0.000 |
| 265 | shapecode_3_b=0.000 |
| 266 | shapecode_3_a=1.000 |
| 267 | shapecode_3_r2=0.000 |
| 268 | shapecode_3_g2=1.000 |
| 269 | shapecode_3_b2=0.000 |
| 270 | shapecode_3_a2=0.000 |
| 271 | shapecode_3_border_r=1.000 |
| 272 | shapecode_3_border_g=1.000 |
| 273 | shapecode_3_border_b=1.000 |
| 274 | shapecode_3_border_a=0.100 |
| 275 | per_frame_1=chng=sin(time*.5); |
| 276 | per_frame_2=cthr=.9999; |
| 277 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 278 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 279 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 280 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 281 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 282 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 283 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 284 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 285 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 286 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 287 | per_frame_13=monitor=chng; |
| 288 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 289 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 290 | per_frame_16= |
| 291 | per_frame_17=monitor=mq1; |
| 292 | per_frame_18=vol=bass+treb+mid; |
| 293 | per_frame_19=atime=atime+vol; |
| 294 | per_frame_20=q11=.4+sin(atime*.006 )*.4; |
| 295 | per_frame_21=q12=.4+cos(atime*.00613828348)*.4; |
| 296 | per_frame_22=q13=.4+sin(atime*.00598593455)*.4; |
| 297 | per_frame_23=monitor=q13; |
| 298 | per_frame_24=//keep q1 negative, that's where the interesting shape is |
| 299 | per_frame_25=q1= (0.2*sin(time*0.3)); |
| 300 | per_frame_26=q2= abs(0.8*sin(time*0.45)); |
| 301 | per_frame_27=q3= 1*sin(time*0.6); |
| 302 | per_frame_28=q4= 0.7*sin(time*0.51); |
| 303 | per_frame_29=q5= 1*cos(time*0.45); |
| 304 | per_frame_30= |
| 305 | per_frame_31=monitor=q5; |
| 306 | per_frame_32=wave_r = wave_r + 0.45*(0.6*sin(time*1.3) + 0.4*sin(0.98*time)); |
| 307 | per_frame_33=wave_b = wave_b + 0.45*(0.6*sin(time*1.1) + 0.4*sin(0.78*time)); |
| 308 | per_frame_34=wave_g = wave_g + 0.45*(0.6*sin(time*1.2) + 0.4*sin(0.6*time)); |
| 309 | per_frame_35= |
| 310 | per_frame_36=//q8=wave_r; |
| 311 | per_frame_37=//q7=wave_g; |
| 312 | per_frame_38=//q6=wave_b; |
| 313 | per_frame_39=q8=1; |
| 314 | per_frame_40=q7=1; |
| 315 | per_frame_41=q6=1; |
| 316 | warp_1=`#define sampler_pic sampler_rand00 |
| 317 | warp_2=`sampler2D sampler_pic; |
| 318 | warp_3=` |
| 319 | warp_4=`shader_body |
| 320 | warp_5=`{ |
| 321 | warp_6=` ret = tex2D( sampler_main, uv ).xyz; |
| 322 | warp_7=` |
| 323 | warp_8=` // ERROR DIFFUSION DITHER - looks great |
| 324 | warp_9=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 325 | warp_10=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 326 | warp_11=` ((uv.xyy*q27 |
| 327 | warp_12=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 328 | warp_13=` ).xyz* |
| 329 | warp_14=` float3(1,1,0)*0.05 + |
| 330 | warp_15=` time*float3(0,0,1)*q29 |
| 331 | warp_16=` ); |
| 332 | warp_17=`if(ret.x> q21*q13 && ret.x<= q24*q11 )ret.y += (noise9).x*.5; |
| 333 | warp_18=`if(ret.y> q22*q11 && ret.y<= q25*q12 )ret.z += (noise9).y*.5; |
| 334 | warp_19=`if(ret.z> q23*q12 && ret.z<= q26*q13 )ret.x += (noise9).z*.5; |
| 335 | warp_20=` ret += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5)/256.0*1; |
| 336 | warp_21=` |
| 337 | warp_22=` // mix in img... |
| 338 | warp_23=` float3 pic = tex2D(sampler_pic, uv_orig*aspect.xy).xyz; |
| 339 | warp_24=` float lum = lum(pic); |
| 340 | warp_25=` float use_it = abs(lum*0.8+0.1 - (0.5+roam_cos.y*0.25)); |
| 341 | warp_26=` float LFNoise = tex2D(sampler_noise_lq, uv*0.1 + time*0.01).x*6-2; |
| 342 | warp_27=` use_it = saturate(1 - use_it*(3+9*rand_preset.x) - LFNoise); |
| 343 | warp_28=` ret = lerp(ret, pic, use_it.xxx); |
| 344 | warp_29=` |
| 345 | warp_30=` // darken over time |
| 346 | warp_31=` ret *= 0.97 + 0.03*saturate( length(uv - uv_orig)*200 ); // center only |
| 347 | warp_32=`} |
| 348 | warp_33=` |
| 349 | comp_1=`shader_body |
| 350 | comp_2=`{ |
| 351 | comp_3=` |
| 352 | comp_4=`ret=GetBlur1(uv); |
| 353 | comp_5=`ret+=GetBlur1(float2(uv.x+ret.x,uv.y+ret.y)); |
| 354 | comp_6=`ret+=GetBlur1(float2(uv.x-ret.y,uv.y-ret.y)); |
| 355 | comp_7=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 356 | comp_8=` ((uv.xyy*q28 |
| 357 | comp_9=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 358 | comp_10=` ).xyz* |
| 359 | comp_11=` float3(1,1,0)*0.05 + |
| 360 | comp_12=` time*float3(0,0,1)*q31 |
| 361 | comp_13=` ); |
| 362 | comp_14=`if(ret.x> q26*q13 && ret.x<= q23*q11 )ret.z -= (noise9).x*.5; |
| 363 | comp_15=`if(ret.y> q25*q11 && ret.y<= q22*q12 )ret.x -= (noise9).y*.5; |
| 364 | comp_16=`if(ret.z> q24*q12 && ret.z<= q21*q13 )ret.y -= (noise9).z*.5; |
| 365 | comp_17=`ret=pow(length(ret)*ret*1.33,0.89-GetBlur3(uv)); |
| 366 | comp_18=`//ret=saturate(ret); |
| 367 | comp_19=`//ret*=tex2D(sampler_noise_lq,uv*ret.y); |
| 368 | comp_20=`ret*=ret.z; |
| 369 | comp_21=`ret=ret-GetPixel(uv); |
| 370 | comp_22=`ret=1-ret; |
| 371 | comp_23=`} |